Release 10.1A: OpenEdge Development:
Progress Dynamics Web Development Guide


Syntax

JavaScript Actions in Progress Dynamics are called as quoted string arguments to apph.action() or apph.actions(). The following example shows the general syntax:

apph.action("action_name|parameter|parameter| . . .") 
apph.actions(["action_name|parameter", "action_name|parameter", . . .]) 

apph.action()

Function name that takes a single action as its argument.

apph.actions()

Function name that takes multiple actions as its argument.

action_name

One of the actions described in the sections that follow. The action name is composed of a prefix followed by an action type; for example, app.back, info.clear. Some action names include the ID of an object; for example, dlg.object_id, main.object_id.disable.

parameter

A value or values that modify the usage of an action. The actions that take parameters are indicated in the sections that follow.

Differences from 4GL conventions

The syntax descriptions for JavaScript Actions differ from standard 4GL conventions. In JavaScript Action syntax:

In 4GL syntax statements, the pipe character and square brackets are not literals, but are used to indicate choices and optional parameters.


Copyright © 2005 Progress Software Corporation
www.progress.com
Voice: (781) 280-4000
Fax: (781) 280-4095